﻿using System.Diagnostics.CodeAnalysis;

namespace DataServer.ApplicationLib.Rules
{
    public interface IControlModelVerify
    {
        VerifyRuleResult Verify(RuleContext context);
    }

    public class ControlModelVerifyBase<T> where T : class
    {
        [NotNull]
        protected T? Model
        {
            get;
            set;
        }

        [NotNull]
        public string? TargetFieldColumn
        {
            get;
            set;
        }
    }
}
